<!--
  Copyright 2020 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
-->
<script type="module">
  console.log('Test for zero "%f" in formatter', 0);
  console.log('%% self-escape1', 'dummy');
  console.log('%%s self-escape2', 'dummy');
  console.log('%%ss self-escape3', 'dummy');
  console.log('%%s%s%%s self-escape4', 'dummy');
  console.log('%%%%% self-escape5', 'dummy');
  console.log('%%%s self-escape6', 'dummy');

  const array = ['test', 'test2'];
  console.log('%o', array);
  console.log('%O', array);
</script>
